<?php
 class  Shape
{
      public  function  getArea(){}
    public static function getPi(){
          return 3.14;
    }
}
class Rectangle extends  Shape {

    private $width,$height;

  final  public  function  __construct($width,$height)
    {
      $this->height=$height;
      $this->width=$width;
    }
    public static  function getObj(){
      return  new  Rectangle();
    }
     final public  function  getArea(){
        return $this->width*$this->height;
    }
}
$c = new Rectangle(3,9);
 print $c->getArea();